﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
     class Renwunpc:FatherNPC
    {
        private string renwu;
        

        public string Renwu {

            get { return this.renwu; }
            set { this.renwu = value; }
        }
       

        public Renwunpc(string name, Styolenpc npcstyple, string renwu):base(name,npcstyple)
        {
            this.renwu = renwu;
        
        }

        public override void speaking()
        {
            Console.WriteLine("NPC:{0}，你能帮{1}吗", base.Name,this.renwu);
        }
    }
}
